from pyecharts import options
from pyecharts.charts import Pie

data = [('南昌',20000),('北京',40000),('上海',30000),('九江',10000)]

pie = Pie()
pie.add("单位/个",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市的岗位数量图"))
pie.render('pienum.html')